package com.neusoft.demo8;

/**
 * 接口中的抽象方法由实现类来实现
 */
public class AImpl implements A,B {
    @Override
    public void m1() {
        System.out.println("m1......");
    }

    public static void main(String[] args) {
        A a = new AImpl();
        a.m1();
    }

    @Override
    public void m2() {
        System.out.println("m2......");
    }
}
